package com.example.demo.Dao;

import com.example.demo.Entity.CustomerEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerDao {
    public List<CustomerEntity> get();
    public CustomerEntity getByAccounts(String accounts);
    public int updateByAccounts(String accounts, String username,String password,String avatar,String email,String gender,String telephone);
    public int addCustomer(String accounts, String username,String password,String avatar,String email,String gender,String telephone);
    public int deleteCustomer(String accounts);
}
